package com.qf.service;

import com.qf.entity.GoodsDetails;
import com.qf.entity.GoodsDetailsPage;

import java.util.List;

public interface GoodsDetailsService {

    List<GoodsDetails> findAllGoodDetails();

    GoodsDetailsPage getGoodsDetailsPage(Integer currentpage,Integer pagesize);

    int deleteGoodsByGdid(Integer gdid);

    void updateGoodsByGdid(GoodsDetails goodsDetails);

    void saveGoodsDetails(GoodsDetails goodsDetails);

    GoodsDetails getGoodsDetailByGdid(Integer gdid);

    List<String> findByGdnameGoods();

    int getGoodDetailGdidByGdname(String gdname);
}
